import request from '@/utils/request'

// 查询实体详情列表
export function listF_details(query) {
  return request({
    url: '/system/f_details/list',
    method: 'get',
    params: query
  })
}

// 查询实体详情详细
export function getF_details(detailId) {
  return request({
    url: '/system/f_details/' + detailId,
    method: 'get'
  })
}

// 新增实体详情
export function addF_details(data) {
  return request({
    url: '/system/f_details',
    method: 'post',
    data: data
  })
}

// 修改实体详情
export function updateF_details(data) {
  return request({
    url: '/system/f_details',
    method: 'put',
    data: data
  })
}

// 删除实体详情
export function delF_details(detailId) {
  return request({
    url: '/system/f_details/' + detailId,
    method: 'delete'
  })
}
